package com.fastCms.business.mall.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@ApiModel(value = "AppProductRandomRecommendPO", description = "APP-随机推荐商品")
@Data
public class AppProductRandomRecommendPO {

    @ApiModelProperty(value = "组织编号", example = "RSD")
    @NotBlank(message = "组织编号不能为空")
    private String organizeCode;

    @ApiModelProperty(value = "产品类型（PHYSICAL_GOODS实物商品,VIRTUAL_GOODS虚拟商品）", example = "PHYSICAL_GOODS")
    private String productType = "PHYSICAL_GOODS";

    @ApiModelProperty(value = "展示的商品数量")
    @NotNull(message = "展示的商品数量不能为空")
    private Integer productNum;

}
